package fds.framework.data;

import java.util.List;

import fds.framework.type.TYPE_PROC_STATE;

public class DATA_THREAD_RES 
{
	private List<? extends DATA_BASE> DBS;
	
	private TYPE_PROC_STATE STATE;
	
	public DATA_THREAD_RES(TYPE_PROC_STATE STATE, List<? extends DATA_BASE> DBS)
	{
		
		this.DBS = DBS;
		this.STATE = STATE;
	}
	
	public DATA_BASE getDATA_BASE()
	{
		if(this.DBS.size() > 0) return this.DBS.get(0);
		return null;
	}
	
	public List<? extends DATA_BASE> getDATA_BASELS()
	{
		return this.DBS;
	}
	
	public TYPE_PROC_STATE getSTATE()
	{
		return this.STATE;
	}
}
